package com.ely.coupon.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "`member`")
public class Member {
    @TableId(value = "member_id", type = IdType.ASSIGN_ID)
    private Long memberId;

    @TableField(value = "member_name")
    private String memberName;

    @TableField(value = "`password`")
    private String password;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "`status`")
    private Integer status;

    public static final String COL_MEMBER_ID = "member_id";

    public static final String COL_MEMBER_NAME = "member_name";

    public static final String COL_PASSWORD = "password";

    public static final String COL_PHONE = "phone";

    public static final String COL_STATUS = "status";
}